import request from '../utils/request'
 
export const productList = function(params){
  return request({
    url: '/product/front_list',
    method: 'get',
    params: params,
  })
}

export const productDetailList = function(params){
  return request({
    url: '/product/front_detail',
    method: 'get',
    params: params,
  })
}

export const productCommentList = function(params){
  return request({
    url: '/product/front_comment',
    method: 'get',
    params: params,
  })
}
export const productInstructions = function(params){
  return request({
    url: '/product/instructions_detail',
    method: 'get',
    params: params,
  })
}

export const productTabNav = function(params){
  return request({
    url: '/product/product_type_and_import_export',
    method: 'get',
    params: params,
  })
}

export const importExportClick = function(params){
  return request({
    url: '/product/change_product_import_export',
    method: 'get',
    params: params,
  })
}

export const getProductDetail = function(params){
  return request({
    url: '/product/get_product_navigation',
    method: 'get',
    params: params,
  })
}
